<script setup>
// import zhCn from "element-plus/es/locale/lang/zh-cn";
import axios from "axios";
import {reactive} from "vue";
const testDate = reactive({
  data:[]
})

function change(){
  axios({
    url:"http://localhost:8080/boot/user/getAllUser"
  }).then((result)=>{
    testDate.data = result.data
  })
}


</script>

<template>
  <!--  <div>-->
  <!--    <el-config-provider :locale="zhCn">-->
  <!--      <el-calendar  />-->
  <!--    </el-config-provider>-->
  <!--  </div>-->
  <div>
    <el-button @click="change"></el-button>
    {{testDate.data}}
  </div>
</template>

<style scoped>

</style>